package com.we.wecc.lp.db.mapper;

import com.we.wecc.lp.db.model.WinningRecord;
import com.we.wecc.lp.db.model.WinningRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface WinningRecordMapper {
    long countByExample(WinningRecordExample example);

    int deleteByExample(WinningRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WinningRecord record);

    int insertSelective(WinningRecord record);

    List<WinningRecord> selectByExampleWithBLOBsWithRowbounds(WinningRecordExample example, RowBounds rowBounds);

    List<WinningRecord> selectByExampleWithBLOBs(WinningRecordExample example);

    List<WinningRecord> selectByExampleWithRowbounds(WinningRecordExample example, RowBounds rowBounds);

    List<WinningRecord> selectByExample(WinningRecordExample example);

    WinningRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WinningRecord record, @Param("example") WinningRecordExample example);

    int updateByExampleWithBLOBs(@Param("record") WinningRecord record, @Param("example") WinningRecordExample example);

    int updateByExample(@Param("record") WinningRecord record, @Param("example") WinningRecordExample example);

    int updateByPrimaryKeySelective(WinningRecord record);

    int updateByPrimaryKeyWithBLOBs(WinningRecord record);

    int updateByPrimaryKey(WinningRecord record);
}